package creditcard;

import java.util.Date;

import framework.interfaces.ICreditCard;
import framework.interfaces.ICustomer;
import framework.interfaces.ITransactionHistory;


public abstract class CreditCard implements ICreditCard {

	String cardNum;
	ICustomer cardholder;
	Date expDate;
	double balance;
	ITransactionHistory cardhistory;
	
	//to be inherited by the child classes
	double monthlyInterest;
	double minPayment;
	
	
	@Override
	public abstract void  charge(double amount);
	
	@Override
	public abstract void deposit(double amount);

	@Override
	public abstract void addInterest(double percent);

	@Override
	public void printStatement(Date begin, Date end) {

	}

}
